/*
 * QSMSControl.h
 *
 *  Created on: 29.09.2009
 *      Author: Elena
 */

#ifndef QSMSCONTROL_H_
#define QSMSCONTROL_H_

#include <QtGui/QWidget>
#include <QtGui/QTreeWidget>
#include "mts_manager.h"

class QSMSControl {

public:

	QSMSControl( mts_manager * mts_mng );
	static QSMSControl& getInstance( mts_manager * mts_mng);

	virtual ~QSMSControl();

	void fillLeftTree();

	QListView * getLeftTree();

	void OnItemExpanded(QTreeWidgetItem *item);

private:
	mts_manager * mts_managerInstance;

	QTreeWidgetItem * trItemLocal;

	QTreeWidgetItem * trItemLocalInbox;
	QTreeWidgetItem * trItemLocalOutbox;
	QTreeWidgetItem * trItemLocalDrafts;
	QTreeWidgetItem * trItemLocalTrash;

	QTreeWidgetItem * trItemSIM;
	QTreeWidgetItem * trItemSIMInbox;
	QTreeWidgetItem * trItemSIMOutbox;
	QTreeWidgetItem * trItemSIMDrafts;
	QTreeWidgetItem * trItemSIMTrash;
};

#endif /* QSMSCONTROL_H_ */
